﻿using System;
using System.Collections.Generic;
using System.Text;
using SH;

namespace MTS
{
	interface _ImtBaidu
	{
		public shErrorCode Credential(mtCredential crd);

		public shErrorCode GetLogonInfo(mtLogOnInfo info);

		public shErrorCode GetRegisterInfo(mtRegisterInfo info);

		public string GetToken();
	}

    interface _ImtInterface
    {
        public shErrorCode Initialize(mtVHost pHost);

        public int GetClassID();

        public string GetInterfaceName();
    }

	interface _ImtOuterface
	{
		public	shErrorCode Initialize(mtVHost pHost);

		public int GetClassID();

		public string GetInterfaceName();

		public shErrorCode SetInnerCallback(ImtCallback callback);

		public ImtCallback GetCallback();

		public shErrorCode _OnInvokeOneWay(int nClassID, int nFuncID, string token, MTSSerializer sc);

		public shErrorCode _OnInvokeTwoWay(int nClassID, int nFuncID, string token, ref MTSSerializer sc);
	}


}
